//封装要求 * 目标：封装检验用户名和密码长度的函数

export const checkUserName = (uname) => {
  return uname.lenght >= 8;
};
export const checkPassWord = (password) => {
  return password.lenght >= 6;
};
export default {
  checkUserName,
  checkPassWord,
};
